<template>
  <div>
    <div class="middlebox">
      <div>
        <div class="text">
          <router-link to='/hsyy'>核酸预约</router-link> 
        </div>
        <i class="iconfont icon-order"></i>
      </div>
      <div>
        <div class="text">
          <p>联系我们</p>
        </div>
        <i class="iconfont icon-lianxiwomen"></i>
      </div>
      <div>
        <div class="text">
          <p>常见问题</p>
        </div>
        <i class="iconfont icon-changjianwenti"></i>
      </div>
      <div>
        <div class="text">
          <p>就诊指南</p>
        </div>
        <i class="iconfont icon-wj-jzbg"></i>
      </div>
      <div>
        <div class="text">
          <p>返回顶部</p>
        </div>
        <i class="iconfont icon-xiangshangjiantou"></i>
      </div>
    </div>
  </div>
</template>

<script>
import '@/assets/js/middel'
export default {
  methods: {
    
  },
};
</script>

<style lang="scss" scoped>
a {
  color: #fff;;
  text-decoration: none;
}
.middlebox {
  height:325px;
  z-index: 20;
  position: fixed;
  transform: translate(-50%, -50%);
  right: 0;
  top: 50%;
  > div {
    &:hover .text {
      opacity: 0.95;
    }
    .text {
      cursor: pointer;
      opacity: 0;
      background-color: rgba(130, 35, 48, 0.95);
      text-align: center;
      line-height: 70px;
      color: #fff;
      font-size: 14px;
      width: 70px;
      height: 70px;
      border-radius: 5px;
      position: absolute;
      letter-spacing: 1px;
      transition: 0.3s;
    }
    i {
      font-size: 42px;
      color: #808080;
    }
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 5px;
  }
}
</style>